package com.rx.mgt.domain;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

/**
 * Created by zxj on 2017/8/15.
 */
@Entity
@Table(name = "rx_rule")
public class EmailRuleDomain {

    @Id
    String id;
    String name;
    String type;
    String menthod;
    String destation;
    Integer ordertype;
    String status;

    String domain;

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    @Transient
    List<EmailRuleDetailDomain> ruleDetailDomainList;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMenthod() {
        return menthod;
    }

    public void setMenthod(String menthod) {
        this.menthod = menthod;
    }

    public String getDestation() {
        return destation;
    }

    public void setDestation(String destation) {
        this.destation = destation;
    }

    public Integer getOrdertype() {
        return ordertype;
    }

    public void setOrdertype(Integer ordertype) {
        this.ordertype = ordertype;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<EmailRuleDetailDomain> getRuleDetailDomainList() {
        return ruleDetailDomainList;
    }

    public void setRuleDetailDomainList(List<EmailRuleDetailDomain> ruleDetailDomainList) {
        this.ruleDetailDomainList = ruleDetailDomainList;
    }
}
